package com.csii.modules.project.controller.vo;

import java.io.Serializable;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.csii.autopoi.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 项目成员表
 * @Author: power-stdio
 * @Date:   2020-11-05
 * @Version: V1.0
 */
@ApiModel(value="project对象", description="项目")
@Data
public class ProjectUserVO implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@ApiModelProperty(value = "主键")
	private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
	private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
	private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
	private String sysOrgCode;
	/**租户ID*/
	@Excel(name = "租户ID", width = 15)
	@ApiModelProperty(value = "租户ID")
	private String tenantId;
	/**用户名*/
	@Excel(name = "用户名", width = 15)
	@ApiModelProperty(value = "用户名")
	private String userName;
	/**项目ID*/
	@ApiModelProperty(value = "项目ID")
	private String proId;
	/**进入时间*/
	@Excel(name = "进入时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "进入时间")
	private Date startDate;
	/**退出时间*/
	@Excel(name = "退出时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "退出时间")
	private Date endDate;
	/**是否是主力*/
	@Excel(name = "是否是主力", width = 15, dicCode = "yes_no")
	@ApiModelProperty(value = "是否是主力")
	private Integer importance;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "project_user_status")
	@ApiModelProperty(value = "状态")
	private Integer status;
	/**角色*/
	@Excel(name = "角色", width = 15, dicCode = "project_user_role")
	@ApiModelProperty(value = "角色")
	private String role;
	/**是否在现场*/
	@Excel(name = "是否在现场", width = 15, dicCode = "yes_no")
	@ApiModelProperty(value = "是否在现场")
	private Integer local;
	/**申请状态*/
	@Excel(name = "申请状态", width = 15)
	@ApiModelProperty(value = "申请状态")
	private Integer applyStatus;
}
